package com.willowandcreek.addongenie.games.wow;

import java.io.File;

import org.apache.commons.lang.SystemUtils;

import com.willowandcreek.addongenie.games.GameProfile;

public class WorldOfWarcraft implements GameProfile {

	private File appDir;

	@Override
	public File[] getDirectoriesToWatch() {
		File wtfPath = new File(appDir, "WTF/Account");
		File interfacePath = new File(appDir, "Interface");
		return new File[] {wtfPath, interfacePath};
	}

	@Override
	public String getGameName() {
		return "World of Warcraft";
	}

	@Override
	public String getProcessName() {
		String processName = null;
		if (SystemUtils.IS_OS_WINDOWS) {
			processName = "wow.exe";
		}
		
		return processName;
	}

	@Override
	public void setAppDirectory(File appDir) {
		this.appDir = appDir;
	}

}
